/*
**********************************************************

Slmdef

Slmdef — an default SListMethod.

Creat by WenKangWei 2010-4-29

***********************************************************
*/

#ifndef __SMS_SLISTMETHOD_DEFAULT__
#define __SMS_SLISTMETHOD_DEFAULT__

#include "slistview.h"

/*
Slmdef Struct
*/

typedef struct _Slmdef
{
	SListIter *iter;
	int type;
	GooCanvasItem *icon;
	GooCanvasItem *text;
	const char *font_style;
	const char *font_color_act;
	const char *font_color_dis;
}Slmdef;

/*
**********************************************************

Properties

  "icon"             GdkPixbuf*              : Write
  "text"               gboolean              : Read / Write

**********************************************************
*/
#define SLMDEF_PRO_ICON "icon"
#define SLMDEF_PRO_TEXT "text"

/*
Slmdef API
*/

SListMethod *slistview_default_method();
/*
SListIter *slmdef_create_iter(SListView *view,GooCanvasItem *cavas, ...);
void slmdef_destroy_iter(SListIter *iter);
gboolean slmdef_get_iter_property(SListIter *iter,const char *property,gpointer data);
gboolean slmdef_set_iter_property(SListIter *iter,const char *property,gpointer data);
gboolean slmdef_highlight_iter(SListIter *iter,gboolean highlight);
*/
#endif
